<script type="text/html" template>
  <link rel="stylesheet" href="{{ layui.setter.base }}assets/css/m-global.css?v={{layui.cache.version}}" media="all">
</script>
<title>
  首页</title>

<div class="layui-card layadmin-header">
  <div class="layui-breadcrumb" lay-filter="breadcrumb">
    <a lay-href>
      <cite>首页</cite>
    </a>
    <a>
      <cite>经销商管理</cite>
    </a>
    <a>
      <cite>总代经销商</cite>
    </a>
  </div>
</div>

<div class="layui-fluid">
  <div class="layui-card">
    <header class="layui-card-header">总代经销商</header>
    <form class="layui-form layui-card-body">
      <div class="layui-row layui-col-space10 layui-form-item">
        <div class="layui-col-lg3 layui-col-md6">
          <label for="" class="layui-form-label">姓名</label>
          <div class="layui-input-block">
            <input type="text" name="name" class="layui-input" placeholder="请输入" autocomplete="off">
          </div>
        </div>
        <div class="layui-col-lg3 layui-col-md6">
          <label for="" class="layui-form-label">手机</label>
          <div class="layui-input-block">
            <input type="text" name="mobile" class="layui-input" placeholder="请输入" autocomplete="off">
          </div>
        </div>
        <input type="hidden" readonly name="type" value="总代">
      </div>
      <div class="layui-form-item">
        <div class="layui-input-block">
          <button class="layui-btn js-table-search" lay-submit lay-filter="js-btn-table-search">查询</button>
          <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
      </div>
    </form>
    <div class="layui-card-body">
      <table id="tableList" lay-filter="tableList"></table>
      <script type="text/html" id="theadToolbar">
        <a href="javascript:;" lay-event="add" class="layui-btn">新增</a>
      </script>
      <script type="text/html" id="trToolbar">
        <a class="layui-btn layui-btn-xs" lay-event="showOrders">购买记录</a>
      </script>
    </div>
  </div>
</div>

<script>
  layui.use('m-agent__main', layui.factory('m-agent__main'));
</script>